package com.lx.wxdemo.dao;

import com.lx.wxdemo.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description TODO
 * @Author lx
 * @Date 2021/1/4 15:59
 **/
@Mapper
public interface LoginDao {

     Integer isLogin(@Param("account") String account, @Param("password")String password);

     Integer selectByopenid(@Param("openid") String openid);

     void insertUser(@Param("user") User user);
}
